package com.yfp.tissue.mapper;

import com.yfp.common.core.domain.R;
import com.yfp.tissue.domain.entity.PositionSharing;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author admin
* @description 针对表【position_sharing(点位分成表)】的数据库操作Mapper
* @createDate 2024-06-13 10:54:46
* @Entity entity.domain.com.yfp.tissue.PositionSharing
*/
public interface PositionSharingMapper extends BaseMapper<PositionSharing> {

    void insertAll(@Param("positionSharings") List<PositionSharing> positionSharings);

    void delByPositionId(@Param("positionId") String positionId);

    List<PositionSharing> findByPositionId(@Param("positionId") String positionId);

    List<PositionSharing> getPositionSharings(String positionId);

    List<PositionSharing> getByPositionIds(@Param("positionIds") List<String> positionIds);

    List<PositionSharing> selectSharings(PositionSharing positionSharing);
}




